﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <summary>
/// Summary description for Advertise
/// </summary>
public class Advertise
{
    private System.Int32 adv_id;
    private System.String adv_title;
    private System.String adv_link;
    private System.Boolean adv_status;
    private System.Int32 adv_position;
    private System.Int32 adv_width;
    private System.Int32 adv_height;
    private System.DateTime adv_createdate;
    private System.DateTime adv_enddate;
    private System.String adv_desc;
    private System.String adv_image;
    private System.Int32 cate_id;
	public Advertise()
	{
        adv_id = int.MinValue;
        adv_title = string.Empty;
        adv_link = string.Empty;
        adv_status = false;
        adv_position = int.MinValue;
        adv_width = int.MinValue;
        adv_height = int.MinValue;
        adv_createdate = DateTime.MinValue;
        adv_enddate = DateTime.MinValue;
        adv_desc = string.Empty;
        adv_image = string.Empty;
        cate_id = int.MinValue;
	}
    #region Public properties

    public System.Int32 Adv_ID
    {

        get
        {
            return adv_id;
        }
        set
        {
            adv_id = value;
        }

    }
    public System.String Adv_Title
    {

        get
        {
            return adv_title;
        }
        set
        {
            adv_title = value;
        }

    }
    public System.String Adv_Link
    {

        get
        {
            return adv_link;
        }
        set
        {
            adv_link = value;
        }

    }
    public System.Boolean Adv_Status
    {

        get
        {
            return adv_status;
        }
        set
        {
            adv_status = value;
        }

    }
    public System.Int32 Adv_Position
    {

        get
        {
            return adv_position;
        }
        set
        {
            adv_position = value;
        }

    }
    public System.Int32 Adv_Width
    {

        get
        {
            return adv_width;
        }
        set
        {
            adv_width = value;
        }

    }
    public System.Int32 Adv_Height
    {

        get
        {
            return adv_height;
        }
        set
        {
            adv_height = value;
        }

    }
    public System.DateTime Adv_CreateDate
    {

        get
        {
            return adv_createdate;
        }
        set
        {
            adv_createdate = value;
        }

    }
    public System.DateTime Adv_EndDate
    {

        get
        {
            return adv_enddate;
        }
        set
        {
            adv_enddate = value;
        }

    }
    public System.String Adv_Desc
    {

        get
        {
            return adv_desc;
        }
        set
        {
            adv_desc = value;
        }

    }
    public System.String Adv_Image
    {

        get
        {
            return adv_image;
        }
        set
        {
            adv_image = value;
        }

    }
    public System.Int32 Cate_ID
    {

        get
        {
            return cate_id;
        }
        set
        {
            cate_id = value;
        }

    }
    #endregion

}
